package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;
//艾特
@Setter
@Getter
public class Aite {
    public static final int ISREAD = 1; //消息已读
    public static final int NOREAD = 0;//消息未读

    private Long id; //id

    private User user; // 艾特的用户

    private User target;//被艾特的用户

    private Integer state = NOREAD;//状态

    private Date createtime; //艾特的时间

    private Travel travel; //艾特的文章

}